#include <iostream>
#include <math.h>
using namespace std;
int main ()
{
float S,D,L,r;
cout<<"S=";
cin>>S;
D=sqrt((4*S)/3.14);
r=D/2;
L=2*3.14*r;
cout<<" D="<<D;
cout<<"\n L="<<L;
return 0;
}
